package com.xie.authority_system.service;

import com.xie.authority_system.entity.Department;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xie.authority_system.vo.query.DepartmentQueryVo;

import java.util.List;

/**
* @author XIEJINGCHENG
* @description 针对表【sys_department(部门表)】的数据库操作Service
* @createDate 2024-01-08 14:45:09
*/
public interface DepartmentService extends IService<Department> {
    /**
     * 查询部门列表
     * @param departmentQueryVo
     * @return
     */
    List<Department> findDepartmentList(DepartmentQueryVo departmentQueryVo);

    /**
     * 查询上级部门列表
     * @return
     */
    List<Department> findParentDepartment();
}
